package cn.stylefeng.guns.sys.modular.dataQualityCheck.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 数据质量检查
 * </p>
 *
 * @author author
 * @since 2020-11-18
 */
@TableName("data_quality_check")
public class QualityCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据质量检查id
     */
    @TableId(value = "data_quality_check_id", type = IdType.AUTO)
    private Integer dataQualityCheckId;

    /**
     * 检查任务id
     */
    @TableField("job_id")
    private String jobId;

    /**
     * 元数据名称
     */
    @TableField("metadata_name")
    private String metadataName;

    /**
     * 检查标准
     */
    @TableField("data_standard_name")
    private String dataStandardName;

    /**
     * 问题数据量
     */
    @TableField("problem_data_number")
    private Integer problemDataNumber;

    /**
     * 是否可用；0代表不可用；1代表可用
     */
    @TableField("is_delete")
    private Integer isDelete;


    public Integer getDataQualityCheckId() {
        return dataQualityCheckId;
    }

    public void setDataQualityCheckId(Integer dataQualityCheckId) {
        this.dataQualityCheckId = dataQualityCheckId;
    }

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public String getMetadataName() {
        return metadataName;
    }

    public void setMetadataName(String metadataName) {
        this.metadataName = metadataName;
    }

    public String getDataStandardName() {
        return dataStandardName;
    }

    public void setDataStandardName(String dataStandardName) {
        this.dataStandardName = dataStandardName;
    }

    public Integer getProblemDataNumber() {
        return problemDataNumber;
    }

    public void setProblemDataNumber(Integer problemDataNumber) {
        this.problemDataNumber = problemDataNumber;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "QualityCheck{" +
                "dataQualityCheckId=" + dataQualityCheckId +
                "jobId=" + jobId +
                ", metadataName=" + metadataName +
                ", dataStandardName=" + dataStandardName +
                ", problemDataNumber=" + problemDataNumber +
                ", isDelete=" + isDelete +
                "}";
    }
}
